<?php
/***************************************************************************
 *                                config.php
 *                            -------------------
 *                      (APU) Automated Pilot Utility
 *   begin                : Tuesday, Nov 14, 2004
 *   copyright            : (C) 2004 SF Games
 *   email                : support@sf-games.com
 *
 * config.inc contains needed mySQL connection information as well as APUS
 * admin information.
 *
 * This file should be placed outside of the public html folder.
 * The path to this file must be set in the file common.php to be properly
 * included. Placing the file outside of the public html folder offers a
 * level of security.
 ***************************************************************************/

	// Database connection information
	$dbhost       = "mysql.host.com";
	$dbuname      = "myusername";
	$dbpass       = "mypassword";
	$dbname       = "apu";
	$table_prefix = "demo1_";			// New in APU 2.0
	$dbtype       = "MySQL";

	// Master admin password
	// Used to log into the admin page, as well as enables admin to submit a PIREP for a pilot
	$masterId   = "admin";
	$masterPass = "demo";

	// Default password for pilots
	$pilotDefaultPass = "pilotpass";

	// Set these if you want e-mail sent on PIREP submissions
	$adminEmailAddress      = "webmaster@mysite.com";
	$qaMonitorEmailAddress  = "qa@mysite.com";
	$emailFromAddress       = "apu_app@mysite.com";
	$emailFromFriendly      = "SF Games APU System Demo";
	$bSendPirepEmailToAdmin = true;
	$bSendPirepEmailToQa    = false;
	$bSendPirepEmailToPilot = true;

	// Navigate to links on the roster.php page, customize for your Airline
	$rosterNavigateTo       = "index.php";
	$rosterNavigateVerbiage = "to return to the Pilots Room";

	// Navigate to the hubs PIREP submission form page
	$pirepSubmissionPage    = "../pirep.htm";

	// Navigate to the hubs Roster page
	$rosterPage             = "../roster.php";

	// Set this to true if you receive plain text pilot PIREP e-mail, or do not receive said e-mail
	$bSpecialCRLF           = true;

	// Pilot no fly grooming days
	$noflyDaysInactive      = 30;	// Number of days since last fly date to mark a pilot as inactive
	$noFlyDaysDelete        = 60;	// Number of days since last fly date to mark a pilot as deleted.

	// Relative path to the dir to create monthly and yearly reports
	// This directory must be mode 777 for the thing to finally allow write via fopen
	$relReportsPath         = "../monthly/";

	/////////////////////////////////////////
	// New options for version 2.00 +
	/////////////////////////////////////////

	// Global information
	$vaName                = "APU Airlines";// Display the VA name at top. Leave empty for no display
	$iNumDecimals          = 2;				// Number of decimal places displayed on flight hours typically 1 or 2
	$bAutomaticPromotions  = true;			// Enable automated promotions. Set to false to handle promotions in other ways
	$bUseEuroDateFormat	   = true;			// Format dates as US or European date format
	$bAllowFuelInGTFuelOut = false;			// Enable this for aerial re-fuel scenarios where fuel upon landing could be more than fuel out
	$bAllowBots            = true;			// Allow search engine bots

	// Roster page information and options
	$bUseAwards            = true;			// Using DART, SAR, FLEET award graphics
	$bDisplayTotalsTable   = true;			// Display Month and Year to Date table on pilot roster
	$bDisplayLOATable      = true;			// Display Pilots on Leave of Absence table on pilot roster
	$bDisplayInactiveTable = true;			// Display Inactive Pilots Table on pilot roster

	// Pilot Registration
	$bAllowPilotRegister   = false;			// Allow pilots to register (true) or Admin must register new pilots (false)
	$bCapitalizedID        = true;			// Set to have all Pilot ID capitalized internally before use, no matter how pilot enters it.

	//
	// Additional message to add to various e-mails
	// Leave as an empty string, i.e. "", for no additional message
	// Make a message on one line. Use HTML to pretty it up, including XHTML new line tag <br />
	//

	// Additional message to be added to the new pilots welcome e-mail
	$newPilotMessage = "Your Unit Captain will be sending an additional e-mail<br />Describing how to use the various things available including<br />Aircraft downloads, and Routes.";

	//
	// Google map flight tracking
	//

	// Flight Tracking
	$bFlightTracking       = true;			// Display links to Flight Tracking map

	// Any google map on a site has to have a unique key generated by URL to map
	// To generate your key, visit http://www.google.com/apis/maps/
	// Replace below with your generated key

	// If using google maps put your key here
	$googleMapKey          = "MyReallyLongGoogleMapKey"
 ?>
